// FirstFixNextUnfix.h: interface for the FirstFixNextUnfix class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FIRSTFIXNEXTUNFIX_H__6B2F8694_3467_4955_B653_D26200B47F1C__INCLUDED_)
#define AFX_FIRSTFIXNEXTUNFIX_H__6B2F8694_3467_4955_B653_D26200B47F1C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "JointState.h"
class JointSystem::JointPortSource;
class JointSystem::JointPortFormer;
#include "JointPortFormer.h"

class FirstFixNextUnfix : public JointState  
{
public:
	virtual BOOL Execute();
	FirstFixNextUnfix();
	virtual ~FirstFixNextUnfix();

private:
	CString GenerateRegular(JointSystem::JointPortSource* pFirstSource, JointSystem::JointPortFormer* pNextFormer);
	CString GenerateOneRegular(Real<Set<double> >& real, JointSystem::RealTextExpSet& text);
	CString GenerateOneRegular();
};

#endif // !defined(AFX_FIRSTFIXNEXTUNFIX_H__6B2F8694_3467_4955_B653_D26200B47F1C__INCLUDED_)
